sgpb\SBPB_WP_Import D

Total Complexity 264
Dependencies 5
Dependents 1
Total lines 1,555
Lines of code 952
Logical lines of code 645
Comment lines 331
Methods 33
Properties 20

Methods 33

Method Rating Maintainability Complexity Lines of code
process_posts()
D
21
50 186
fetch_remote_file()
D
28
33 129
get_author_mapping()
C
38 25 59
process_menu_item()
B
37 21 69
process_terms()
A
45 13 36
process_categories()
A
46 13 35
backfill_parents()
A
49 12 29
process_tags()
A
48 11 30
dispatch()
A
50 9 26
author_select()
A
45 8 40
get_filename_from_disposition()
A
51 8 27
process_attachment()
S
49 6 29
sgpb_setCustomUploadPopupsPathImport()
S
50 6 28
handle_upload()
S
49 5 31
get_authors_from_import()
S
54 5 21
process_termmeta()
S
56 5 18
import_start()
S
49 4 30
get_file_extension_by_mime_type()
S
60 5 12
import_options()
S
52 4 24
remap_featured_images()
S
64 4 10
import_end()
S
59 2 13
header()
S
60 2 12
import()
S
58 1 16
backfill_attachment_urls()
S
65 2 8
is_valid_meta_key()
S
72 2 5
footer()
S
82 1 3
parse()
S
76 1 4
allow_create_users()
S
79 1 3
allow_fetch_attachments()
S
79 1 3
max_attachment_size()
S
79 1 3
bump_request_timeout()
S
82 1 3
cmpr_strlen()
S
79 1 3
greet()
S
68 1 7